set PAIS_HOME=c:\pa\pais

# PAIS_DB_PATH should end with \ or / according to platform
set TOMCAT_HOME="C:\Programs\Tomcat 6.0"
set ROBOT_HOME=%PAIS_HOME%\etc\robot
set PAPOS_LIB=c:\pa\pais\lib\papos.jar
set PASYS_LIB=c:\pa\pais\lib\pasys.jar

set PAIS_LIBS=%PASYS_LIB%;%PAPOS_LIB%
REM set PAIS_BIN=%PAIS_HOME%\bin
set PAIS_BIN=%TOMCAT_HOME%\webapps\ROOT\WEB-INF\classes

set CLASSPATH=%PAIS_LIBS%;%PAIS_BIN%

REM set JDB_ATTACH="-Xdebug -Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,suspend=n"
set JDB_ATTACH=
REM set AGENT_LIB=-agentlib:hprof=heap=sites
set AGENT_LIB=



REM set PAIS_DB_PATH=c:\pais_web_db\
set PAIS_DB_PATH=c:\pais_web_db

cd %PAIS_HOME%
java -enableassertions %AGENT_LIB% %JDB_ATTACH% -cp %CLASSPATH% pais.robot.DocRobot %PAIS_DB_PATH% http://www.google.com/intl/ko/about.html %1 
cd %DOCROBOT_HOME%